package com.zy;

/**
 * @author: zhaoyi
 * @create: 2020-04-23 23:35
 * @description: private的理解,看了scala的private[this] 才意识到
 *               java的private是到类的不是到对象
 **/

public class Person {

    private Integer age;

    public void compareTo(Person other){
        this.age.compareTo(other.age);
    }

}
